package com.entity;

/**
 * @Author: 冷俊杰
 * @Description: 商品
 * @DateTime: 2022/6/17 9:25
 **/
public class Okayapi_goods {
    private Integer id;//商品ID
    private String goods_name;//商品名称
    private String goods_desc;//商品描述
    private Integer goods_price;//商品价格
    private String goods_img;//商品图片链接
    private Integer goods_status;//商品状态，1正常售卖，2已下架
    private String gimgO;//轮播图片展示1
    private String gimgT;//轮播图片展示2
    private String gimgS;//轮播图片展示3
    private Integer quantity;//购买数量

    public Okayapi_goods(String goods_name, String goods_desc, Integer goods_price, String goods_img, String gimgO, String gimgT, String gimgS) {
        this.goods_name = goods_name;
        this.goods_desc = goods_desc;
        this.goods_price = goods_price;
        this.goods_img = goods_img;
        this.gimgO = gimgO;
        this.gimgT = gimgT;
        this.gimgS = gimgS;
    }

    public Okayapi_goods(String goods_name, String goods_desc, Integer goods_price, String goods_img, String gimgO, String gimgT, String gimgS, Integer quantity) {
        this.goods_name = goods_name;
        this.goods_desc = goods_desc;
        this.goods_price = goods_price;
        this.goods_img = goods_img;
        this.gimgO = gimgO;
        this.gimgT = gimgT;
        this.gimgS = gimgS;
        this.quantity = quantity;
    }

    public Okayapi_goods(Integer id, String goods_name, String goods_desc, Integer goods_price, String goods_img, Integer goods_status, String gimgO, String gimgT, String gimgS, Integer quantity) {
        this.id = id;
        this.goods_name = goods_name;
        this.goods_desc = goods_desc;
        this.goods_price = goods_price;
        this.goods_img = goods_img;
        this.goods_status = goods_status;
        this.gimgO = gimgO;
        this.gimgT = gimgT;
        this.gimgS = gimgS;
        this.quantity = quantity;
    }

    public Okayapi_goods(String goods_name, String goods_desc, Integer goods_price, String goods_img, Integer goods_status, String gimgO, String gimgT, String gimgS) {
        this.goods_name = goods_name;
        this.goods_desc = goods_desc;
        this.goods_price = goods_price;
        this.goods_img = goods_img;
        this.goods_status = goods_status;
        this.gimgO = gimgO;
        this.gimgT = gimgT;
        this.gimgS = gimgS;
    }


    public Okayapi_goods(String goods_name) {
        this.goods_name = goods_name;
    }

    public Okayapi_goods(Integer id) {
        this.id = id;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getGoods_name() {
        return goods_name;
    }

    public void setGoods_name(String goods_name) {
        this.goods_name = goods_name;
    }

    public String getGoods_desc() {
        return goods_desc;
    }

    public void setGoods_desc(String goods_desc) {
        this.goods_desc = goods_desc;
    }

    public Integer getGoods_price() {
        return goods_price;
    }

    public void setGoods_price(Integer goods_price) {
        this.goods_price = goods_price;
    }

    public String getGoods_img() {
        return goods_img;
    }

    public void setGoods_img(String goods_img) {
        this.goods_img = goods_img;
    }

    public Integer getGoods_status() {
        return goods_status;
    }

    public void setGoods_status(Integer goods_status) {
        this.goods_status = goods_status;
    }

    public String getGimgO() {
        return gimgO;
    }

    public void setGimgO(String gimgO) {
        this.gimgO = gimgO;
    }

    public String getGimgT() {
        return gimgT;
    }

    public void setGimgT(String gimgT) {
        this.gimgT = gimgT;
    }

    public String getGimgS() {
        return gimgS;
    }

    public void setGimgS(String gimgS) {
        this.gimgS = gimgS;
    }

    public Integer getQuantity() {
        return quantity;
    }

    public void setQuantity(Integer quantity) {
        this.quantity = quantity;
    }



    @Override
    public String toString() {
        return "Okayapi_goods{" +
                "id=" + id +
                ", goods_name='" + goods_name + '\'' +
                ", goods_desc='" + goods_desc + '\'' +
                ", goods_price=" + goods_price +
                ", goods_img='" + goods_img + '\'' +
                ", goods_status=" + goods_status +
                ", gimgO='" + gimgO + '\'' +
                ", gimgT='" + gimgT + '\'' +
                ", gimgS='" + gimgS + '\'' +
                ", quantity=" + quantity +
                '}';
    }
}
